home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #11
/
Amiga Plus CD - 2002 - No. 11.iso
/
Tools
/
Development
/
PowerD
/
powerd
/
source
/
lib
/
library_lib.lha
/
Library
/
LibInit.d
< prev
next >
Wrap
Text File
|
2001-11-14
|
369b
|
20 lines
OPT NOEXE
MODULE 'powerd/library'
EPROC customInitLib(base:PTR TO LibGenBase)(LONG)
EPROC libExpunge(base:PTR TO LibGenBase IN a6)(LONG)
PROC libInit(base:PTR TO LibGenBase IN d0,segment IN a0)(PTR TO LibGenBase)
base.segment:=segment
InitSemaphore(base.semaphore) -> this is optional
IF customInitLib(base)=0
libExpunge(base)
base:=0
ENDIF
ENDPROC base